package serverdto

import (
	"github.com/gogf/gf/v2/frame/g"
	"xr-game-server/core/httpserver"
	"xr-game-server/entity"
)

type GetZoneReq struct {
	g.Meta `path:"/getCmsZone" method:"post" summary:"cms获取全部区服" tags:"服务器"`
	httpserver.CMSQueryReq
}

type GetZoneRes struct {
	Data []*entity.Zone `json:"data"`
}

func NewZoneRes(data []*entity.Zone) *GetZoneRes {
	return &GetZoneRes{Data: data}
}
